package com.ruoyi.project.simple.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 样品订单明细对象 spl_order_detail
 * 
 * @author zhujj
 * @date 2020-01-09
 */
public class SplOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 样品订单明细ID */
    private String orderDetailId;

    /** 订单明细编号 */
    @Excel(name = "订单明细编号")
    private String orderNumber;

    @Excel(name = "原始编号")
    private String originalCode;
    /** 样品订单ID */
    private String orderId;

    /** $column.columnComment */
    private String simpleTypeId;

    /** 样品名称 */
    @Excel(name = "样品名称")
    private String simpleTypeName;

    /** 样品名称 */
    @Excel(name = "检测指标")
    private String norm;

    /** 检测费用 */
    private BigDecimal amount;
    /** 样品图片 */
    private String simpleTypeCover;
    /**复核人ID*/
    private Integer reviewUserId;
    /**复核人姓名*/
    private String  reviewUserName;
    /** 状态（10-待受理 20-已受理 30-出报告） */
    @Excel(name = "状态", readConverterExp = "10=待受理,20=待生成,30=待复核,40=待付款,50=已付款")
    private Integer state;

    /** 删除标志（0代表存在 9代表删除） */
    private String delFlag;

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getNorm() {
        return norm;
    }

    public void setNorm(String norm) {
        this.norm = norm;
    }

    public String getOriginalCode() {
        return originalCode;
    }

    public void setOriginalCode(String originalCode) {
        this.originalCode = originalCode;
    }

    public Integer getReviewUserId() {
        return reviewUserId;
    }

    public void setReviewUserId(Integer reviewUserId) {
        this.reviewUserId = reviewUserId;
    }

    public String getReviewUserName() {
        return reviewUserName;
    }

    public void setReviewUserName(String reviewUserName) {
        this.reviewUserName = reviewUserName;
    }

    public void setOrderDetailId(String orderDetailId)
    {
        this.orderDetailId = orderDetailId;
    }

    public String getOrderDetailId() 
    {
        return orderDetailId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setSimpleTypeId(String simpleTypeId) 
    {
        this.simpleTypeId = simpleTypeId;
    }

    public String getSimpleTypeId() 
    {
        return simpleTypeId;
    }
    public void setSimpleTypeName(String simpleTypeName) 
    {
        this.simpleTypeName = simpleTypeName;
    }

    public String getSimpleTypeName() 
    {
        return simpleTypeName;
    }
    public void setSimpleTypeCover(String simpleTypeCover) 
    {
        this.simpleTypeCover = simpleTypeCover;
    }

    public String getSimpleTypeCover() 
    {
        return simpleTypeCover;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderDetailId", getOrderDetailId())
            .append("orderNumber", getOrderNumber())
            .append("orderId", getOrderId())
            .append("simpleTypeId", getSimpleTypeId())
            .append("simpleTypeName", getSimpleTypeName())
            .append("simpleTypeCover", getSimpleTypeCover())
            .append("state", getState())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
